package com.ruoyi.system.mapper;

import com.ruoyi.common.core.dao.BaseMapper;
import com.ruoyi.common.entity.DO.AppletTemplateDO;
import com.ruoyi.common.entity.DO.shop.ShopAppletDO;
import org.apache.ibatis.annotations.Select;

public interface IBackAppletTemplateMapper extends BaseMapper<AppletTemplateDO> {

    @Select("SELECT applet_app_id appletAppId,applet_secret appletSecret FROM shop_applet WHERE id=#{shopAppletId} and is_enable=1 and is_delete=0 ")
    ShopAppletDO getShopAppletInfo(Long shopAppletId);
}
